function designname() {
    var design_name = document.myform.design_name.value;
    var design_nametab = document.getElementById('design_nametab');
    if(/^[\u4e00-\u9fa5_a-zA-Z0-9]{2,28}$/.test(design_name)){
        design_nametab.innerHTML = '√';
        design_nametab.style.color = '#0a0';
        return true;
    }else{
        design_nametab.innerHTML = '×';
        design_nametab.style.color = '#f00';
        return false;
    }
}

function organizationuser() {
    var organization_user = document.myform.organization_user.value;
    var organization_usertab = document.getElementById('organization_usertab');
    if(/^[\u4e00-\u9fa5_a-zA-Z0-9]{2,28}$/.test(organization_user)){
        organization_usertab.innerHTML = '√';
        organization_usertab.style.color = '#0a0';
        return true;
    }else{
        organization_usertab.innerHTML = '×';
        organization_usertab.style.color = '#f00';
        return false;
    }
}

function organizationdesign() {
    var organization_design = document.myform.organization_design.value;
    var organization_designtab = document.getElementById('organization_designtab');
    if(/^[]$/.test(organization_design)){
        organization_designtab.innerHTML = '√';
        organization_designtab.style.color = '#0a0';
        return true;
    }else{
        organization_designtab.innerHTML = '×';
        organization_designtab.style.color = '#f00';
        return false;
    }
}


// 表单提交验证
function checkForm() {
    return designname() && organizationuser() ;
}